]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: drop padding between buttons and entry
authorRay Strode <rstrode@redhat.com>
Wed, 19 Jun 2013 13:23:14 +0000 (09:23 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 12 Jul 2013 15:52:52 +0000 (11:52 -0400)
Now that we preallocate space for the prompt message there is
a lot of loose space between the entry and the buttons.

This commit helps tighten things up by getting rid
of the large top padding set above the login buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=702308

data/theme/gnome-shell.css
js/gdm/loginDialog.js

index 0dc5b703d5e6acceef210b4cf66b97cab1ac7a07..5c1c1d7c94baffa6e9d37283bbe31ba720e58e84 100644 (file)
@@ -2244,6 +2244,10 @@ StScrollBar StButton#vhandle:active {
     min-width: 350px;
 }
 
+.login-dialog-button-box {
+    spacing: 5px;
+}
+
 .login-dialog-prompt-login-hint-message {
     font-size: 10.5pt;
 }
index adb5d5596d6697c7458277ed784b47c6b54121fd..57b6019a364b91c7efb411158fbe418e0f548a2f 100644 (file)
@@ -512,7 +512,7 @@ const LoginDialog = new Lang.Class({
         this._promptLoginHint = new St.Label({ style_class: 'login-dialog-prompt-login-hint-message' });
         this._promptBox.add(this._promptLoginHint);
 
-        this._buttonBox = new St.BoxLayout({ style_class: 'modal-dialog-button-box',
+        this._buttonBox = new St.BoxLayout({ style_class: 'login-dialog-button-box',
                                              vertical: false });
         this._promptBox.add(this._buttonBox,
                             { expand:  true,